package cn.edu.guet.service.om;

import cn.edu.guet.bean.om.FGAll;
import cn.edu.guet.bean.om.FRAll;
import cn.edu.guet.bean.om.FRNAll;
import cn.edu.guet.bean.om.OUsers;

import java.util.List;

public interface OUserService {

    List<OUsers> viewOUsers(Integer gid);
    void updateOUser(String username);
    OUsers findByName(String username);
    List<FRAll> findRoleAll();
    List<FGAll> findGnameAll();
    void update(OUsers oUsers);

    Integer findByGName(String gname);

    List<FRNAll> findRealNameAll();

    void insertOUser(OUsers oUsers);

    List <OUsers>searchOUser(String realname);

    String getRole(String loginusername);

    Integer getGid(String loginusername);
}
